<?php 
/* SVN FILE: $Id$ */
/* Configuracione Test cases generated on: 2010-01-17 23:22:30 : 1263792150*/
App::import('Model', 'Configuracione');

class ConfiguracioneTestCase extends CakeTestCase {
	var $Configuracione = null;
	var $fixtures = array('app.configuracione');

	function startTest() {
		$this->Configuracione =& ClassRegistry::init('Configuracione');
	}

	function testConfiguracioneInstance() {
		$this->assertTrue(is_a($this->Configuracione, 'Configuracione'));
	}

	function testConfiguracioneFind() {
		$this->Configuracione->recursive = -1;
		$results = $this->Configuracione->find('first');
		$this->assertTrue(!empty($results));

		$expected = array('Configuracione' => array(
			'id'  => 1,
			'nombre'  => 'Lorem ipsum dolor sit amet',
			'valor'  => 'Lorem ipsum dolor sit amet'
		));
		$this->assertEqual($results, $expected);
	}
}
?>